<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="common/head_info.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>化学分子式详情</title>
<link rel="stylesheet" href="${ctx}/common/css/version4.css" type="text/css">
<link rel="stylesheet" href="${ctx}/common/css/import.css" type="text/css" media="screen,print">
<link rel="stylesheet" href="${ctx}/common/css/jquery-ui.css" type="text/css">
<script src="${ctx}/common/js/jquery.js" type="text/javascript"></script>
<script src="${ctx}/common/js/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript" src="${ctx}/common/js/common.js"></script>
</head>
<body id="catalog">
	<div class="topHeader">
  <div class="wrap960">
		<!-- 快速链接 S-->
    	<ul class="sg_tits2 fr">
			<li class="noPadd"><a href="javascript:void(0)" onclick="SetHome(this,'http://localhost/chemSearch/');" target="_self">加入收藏</a></li>
		</ul>
<%  
	
	if(session.getAttribute("userLogin")==null){ %>
		<div class="fl" id="loginF">
			<span class="welcome2">用户快速登陆</span>
			<!-- 选择去向 S-->
			<div class="hasGone">
				<form method="post" target="_self" name="login_form" id="login_form" action="#">
				<!-- 登录前显示、登录后隐藏 S-->
				<div class="fl">
					<input class="inp2 w100 colGray" name="user" id="login_user" value="用户名" onfocus="if(this.value == '用户名'){this.value = '';$(this).removeClass('colGray');}" onblur="if(this.value == ''){this.value = '用户名';$(this).addClass('colGray');}" type="text">

                    <input style="display: block;" class="inp2 w85 colGray jsclass_pw_t" value="请输入密码" type="text">
                    <input class="inp2 w85 colGray jsclass_pw_p" name="pwd" id="login_pwd" style="display: none;" type="password">
                    
					<input name="method" value="checktop" type="hidden">
					<input name="returnUrl" id="returnUrl" value="" type="hidden">
					<input name="sign" value="s" type="hidden">
					<input style="display: none;" id="submit" type="submit">
				</div>
				<a href="javascript:void(0);" class="hbtnA" onclick="login();" target="_self" id="btn_login">登录</a>
			    </form>
		  </div>
			<!-- 选择去向 E-->
		</div>
<%}
	else {%>
		<!-- 登陆后状态 S-->
		<div class="fl" id="loginL">
			<!-- 登陆后 -->
			<span class="welcome2" id="welcomeText">您好，欢迎使用化学结构式检索系统</span>
			<!-- 选择去向 S-->
			<div class="hasGone">
				 <form name="Form2" action="${pageContext.request.contextPath}/manage/user/loginOut.do">
				<input type="submit" class="hbtnA" id="logoutBtn" value="退出"/>	  
				<input type= "hidden" name= "url" id= "url" value= "<%=request.getRequestURL()%>">
			</form>	
			</div>
			<!-- 选择去向 E-->
		</div>
	<%}
%>

 </div>
</div>
<div id="wrapper">
    <!-- Header Start -->
<div id="header">
<a href="#"><img src="${ctx}/common/images/logo1.gif" ></a>
</div>
    <!-- Header End -->
    <!-- Main Start -->
<div id="main">
    <h1>Isobutylcyclohexane&nbsp;(CAS编码 ${attributeInfo.cas_rn})</h1>
    <h2>中文名 : ${attributeInfo.name_cn}</h2>
    <br />  
    <div id="content">
<!--      <div id="usage"><span class="helplink"><a href="#">目录的使用说明</a></span></div> -->

      <div id="rightMenu">
        <!-- Structure Image Part -->
        <div id="image">
          <h3>结构式</h3>
<!--[if lte IE 7]><span>&nbsp;</span><![endif]--><div><img src="${ctx}/common/molPNG/${ attributeInfo.picture_Name}" alt="${ attributeInfo.picture_Name}"></div>
        </div><!-- Structure Image Part -->

        <!-- Useful Links Block -->
        <div id="func">
          <h3>相关链接</h3>

          <p><a id="SpecLink" href="#" class="arrow">链接一</a></p>
          <p><a id="SpecLink" href="#" class="arrow">链接二</a></p>
        </div><!-- Useful Links Block -->
      </div>

      <!-- General Information Block -->
      <table class="data">
        <caption>基本信息</caption>
          <tbody><tr>
            <th>CAS编码 :</th>
            <td>${attributeInfo.cas_rn}</td>
          </tr>
		  <tr>
            <th>分子式 :</th>
            <td>${attributeInfo.molecular_formula}</td>
          </tr>
          <!--  
		  <tr>
            <th>分子量 :</th>
            <td>1678-98-4</td>
          </tr>
          -->
		  <tr>
            <th>中文名称 :</th>
            <td>${attributeInfo.name_cn }</td>
          </tr>
          <tr>
            <th>英文名称 :</th>
            <td>${attributeInfo.name_en }</td>
          </tr>
      </tbody></table><!-- General Information Block -->

      <!-- Physical Properties Block -->
        <table class="data">
        <caption>其他信息</caption>
                                    <tbody><tr>
          <th>bp :</th>
          <td>169 °C</td>
        </tr>
                <tr>
          <th>d :</th>
          <td>0.80</td>
        </tr>
                      </tbody></table>
  <!-- Physical Properties Block -->

  <!-- Informative Links Block -->

      <br class="clear">

    </div><!-- content -->

<div class="pagetop"><a href="${ctx }/search.jsp">返回页首</a></div>
</div><!-- #main -->
<hr>
</div><!-- #wrapper -->

</body></html>